package com.xdjd.mobile.business.entity.param.trade;

import com.gitee.easyopen.doc.annotation.ApiDocField;
import com.xdjd.mobile.business.entity.param.BasePageParam;

import javax.validation.constraints.NotNull;

public class TradeParam extends BasePageParam {
    @ApiDocField(description = "记录类型（0：充值，1：提现）", required = true)
    @NotNull(message = "记录类型不能为空")
    private Byte recordType;

    public Byte getRecordType() {
        return recordType;
    }

    public void setRecordType(Byte recordType) {
        this.recordType = recordType;
    }
}
